<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>PIL module</title></head>
<body><h1>module <span style="font-family: monospace;">PIL</span></h1>The PIL module provides some facilities for interfacing with the <a href="http://www.pythonware.com/products/pil/">Python Imaging Library</a>.<br><h2>Functions</h2><dl><dt style="font-family: monospace;">image_from_pil_image(pil_image)</dt><dd>Creates an <a href="Image.html">Image</a> from a PIL image object.<br><br></dd><dd><span style="font-weight: bold;">Supported PIL image modes</span><br><br>Modes "RGB" and "RGBA" are
supported on all platforms.</dd><dd>Mode "P" (indexed) is not supported on any
platform.</dd><dd>Other modes may or may not be supported.</dd><dt></dt></dl></body></html>